package Bk.basic;

public class J07_Expression47 {

	public static void main(String[] args) {

//		int number = 10;
//		while ( number > 0) {
//			number = number - 2;
//			if ( number == 4 ) break;
//				System.out.println( number );
//		}
//		System.out.println( "The end.");
	
		int number;
		for ( number = 10; number > 0; number = number - 2) {
			if ( number ==4) break;
			System.out.println( number );
		}
		System.out.println(  "The end." );
		
		
//		int number = 10;
//		while ( number > 0 ) {
//			number = number - 2;
//			if ( number == 4) continue;
//				System.out.println( number );
//		}
//		System.out.println( "The end." );

		for ( number = 10; number > 0; number = number - 2) {
			if ( number == 4 ) continue;
			System.out.println( number );
		}
		System.out.println(  "The end." );
		
	
	}

}
